import { createRouter, createWebHistory } from 'vue-router'
import login from '@/views/login/login.vue'
import laber from '@/views/Labor_dapartment/laber.vue'
import home from '@/views/Labor_dapartment/home.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: login,
    },
    {
      path: '/laber',
      name: 'laber',
      component: laber,
      children:[
        {
          path: "home",
          name: "laberHome",
          component: home,
        }
      ]
    },
    
  ],
})

export default router
